package com.bwie.service;

import com.bwie.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @program: day0617mounth
 * @ClassName IClassService
 * @description:
 * @author: 段阳
 * @create: 2024-06-17 11:10
 **/
@Component("iClassService")
@FeignClient(name = "day0617mounth-class")
public interface IClassService {

    @PostMapping("/class/getClassById")
    public R getClassById(@RequestParam Integer id);


    @PostMapping("/class/findClassList")
    public R findClassList(@RequestParam Integer id);
}